# --**coding:utf-8**--

import logging

xmlfilePath = '/Users/linkface_user/PycharmProjects/mockChannel/templates/linkfacemock/returnxml.xml'



def truncateXml():
    file = open(xmlfilePath, "r+")
    file.truncate()


def writeXml(info):
    file = open(xmlfilePath,'rb+')
    file.write(info)
    file.close()



class config():
    def __init__(self):
        pass
    def returnLinkLog(self):

        return logging.getLogger("linkface")

    def returnErrorLog(self):

        return logging.getLogger("linkerror")